<?php
/************************************************************************
 Omnitrix - PHP Development Framework
 Copyright (C) 2012-2018 amonest(eastson@outlook.com)

 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
************************************************************************/

//-----------------------------------------------------------------------
// 环境
//-----------------------------------------------------------------------
define('DS', 				DIRECTORY_SEPARATOR);
define('DEBUG', 			true);


//-----------------------------------------------------------------------
// 路径
//-----------------------------------------------------------------------
define('DIR_ROOT', 			dirname(__FILE__) . DS);
define('DIR_MODULES', 		DIR_ROOT . 'modules' . DS);
define('DIR_PLUGINS', 		DIR_ROOT . 'plugins' . DS);
define('DIR_THEMES', 		DIR_ROOT . 'themes' . DS);
define('DIR_LANGUAGES',		DIR_ROOT . 'languages' . DS);
define('DIR_CACHE', 		DIR_ROOT . 'cache' . DS);
define('DIR_BACKUP', 		DIR_ROOT . 'backup' . DS);
define('DIR_UPLOAD', 		DIR_ROOT . 'upload' . DS);
define('DIR_SYSTEM', 		DIR_MODULES . 'system' . DS);


//-----------------------------------------------------------------------
// 网址
//-----------------------------------------------------------------------
define('HTTP_ROOT',			'http://192.168.12.74:10080/omnitrix/');
define('HTTP_MODULES',		'http://192.168.12.74:10080/omnitrix/modules/');
define('HTTP_PLUGINS',		'http://192.168.12.74:10080/omnitrix/plugins/');
define('HTTP_THEMES',		'http://192.168.12.74:10080/omnitrix/themes/');


//-----------------------------------------------------------------------
// 数据库
//-----------------------------------------------------------------------
define('DB_TYPE',			'mysql');
define('DB_HOST',			'localhost');
define('DB_PORT',			'3306');
define('DB_DATABASE',		'omnitrix');
define('DB_USERNAME',		'root');
define('DB_PASSWORD',		'');
define('DB_CHARSET',		'utf-8');
define('DB_PREFIX',			'otx_');
